package cn.ainit.yz.cloutStock;

import java.util.List;

import cn.ainit.yz.cloutStock.entity.CloutStock;
import cn.ainit.yz.cloutStock.entity.CloutStockItem;

public interface CloutStockDao {
	/**
	 * 保存材料出库
	 * @param cloutStock
	 * @param cloutStockItems
	 * @return
	 * @throws Exception
	 * @author wyang
	 * @date : 2014-3-8 上午11:41:50
	 */
	boolean saveCloutStock(CloutStock cloutStock, List<CloutStockItem> cloutStockItems) throws Exception;
	/**
	 * 修改材料出库
	 * @param cloutStock
	 * @param cloutStockItems
	 * @return
	 * @throws Exception
	 * @author wyang
	 * @date : 2014-3-8 上午11:42:07
	 */
	boolean updCloutStock(CloutStock cloutStock, List<CloutStockItem> cloutStockItems) throws Exception;
}
